//
//  VCsearchButtonModel.m
//  NBTripe
//
//  Created by 陈曦 on 16/1/7.
//  Copyright © 2016年 Vicki. All rights reserved.
//

#import "VCsearchButtonModel.h"

@implementation VCsearchButtonModel

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    if ([key isEqualToString:@"elements"]) {
        for (NSDictionary *dic in value) {
            self.searchElementModel = [[VCsearchElementModel alloc] initWithDataSource:dic];
        }
        
    }
    
}

@end
